package com.pubinfo.passbook.common.model.dto.financial;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@ApiModel(value = "QueryDetailsParam", description = "增值税系统-票据列表参数")
public class QueryDetailsParam {
  @NotNull(message = "票据代码不能为空")
  @ApiModelProperty(value = "票据代码", required = true)
  @JSONField(name = "invoiceCode")
  private String invoiceCode;
  @NotNull(message = "票据号码不能为空")
  @ApiModelProperty(value = "票据号码", required = true)
  @JSONField(name = "invoiceNumber")
  private String invoiceNumber;
  @NotNull(message = "票据类型不能为空")
  @ApiModelProperty(value = "票据类型 查验财政电子票据时传特定值19", required = true)
  @JSONField(name = "einvoiceType")
  private String eInvoiceType;
  @NotNull(message = "用户名不能为空")
  @ApiModelProperty(value = "用户名", required = true)
  @JSONField(name = "username")
  private String username;
  @NotNull(message = "密码不能为空")
  @ApiModelProperty(value = "密码", required = true)
  @JSONField(name = "password")
  private String password;
}
